import axios from 'axios'

export default {
  async get (keyword) {
    let res = await axios.get('/api/search.php', {
      params: {
        keyword: keyword
      }
    })
    return res.data
  }
}
